package lab02.test36;

public abstract class Student {
    //姓名， 类别

    String name;
    String type;
    double[] scores = new double[3];
    String grade;

    //求平均成绩
    double calAverage(){

        return (scores[0]+scores[1]+scores[2])/3;
    }
    //抽象方法
}
